package com.zbdx.medicalzb.mapper;

import com.zbdx.medicalzb.domain.DrugCompany;
import com.zbdx.medicalzb.entity.DrugCompanyEntity;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
public interface CompanyMapper {

    List<DrugCompany> getAllCompany(String name);


    int saveCompany(DrugCompanyEntity dce);

    int updateCompanyById(DrugCompany company);

    int deleteCompanyById(Integer id);
}
